package com.csht.mapper;

import java.util.List;

import com.csht.vo.index.tenGoods.CshtTenGoodsEverydayVo;

public interface CshtTenGoodsEverydayMapper {

	/**
	 * 获取每日十条商品的包装类
	 * @return
	 * @throws Exception
	 */
	public List<CshtTenGoodsEverydayVo> getTenGoodsEveryday() throws Exception;
	
	/**
	 * 每天更新每日十件商品时先清空表
	 * @throws Exception
	 */
	public void truncateTable() throws Exception;
	
	/**
	 * 每天更新十条商品到每日十件表中
	 * @throws Exception
	 */
	public void updateTenGoodsEveryday(List<Integer> tenGoodsIdList) throws Exception;
	
}
